<script setup lang='ts'>
    import { ref } from 'vue';
import Avatar from './index.vue'
import img1 from '~@/assets/avatar1.jpg'
    
    const src=ref<string>('');
    src.value=img1;

</script>
<template>
    <div>
        <h1> Avatar.vue test</h1>
        <Avatar :url="src"></Avatar>
        <hr>
        <Avatar :url="src" :size="75"></Avatar>
    </div>
</template>
<style lang='less' scoped>
    
</style>